#ifndef PAYLOADEVENT_H
#define PAYLOADEVENT_H

#include <QEvent>

#include "payload.h"

namespace apollo
{
	namespace core
	{

		class PayloadEvent : public QEvent
		{

		public:
			PayloadEvent(PayloadPtr payload);
			~PayloadEvent();
			PayloadPtr getPayload() const {return payload;}
		private:
			PayloadPtr payload;
		};

	}}
#endif // PAYLOADEVENT_H
